package com.bwda.dsrs.filecenter.domain.form.sdklog;

import javax.validation.constraints.NotNull;
import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "SDK日志表")
public class SdkLogUpdateForm {

	@ApiModelProperty(value = "日志id", required = true)
	@NotNull(message = "日志id不能为空")
	private Integer logId;

	@ApiModelProperty(value = "ip")
	private Integer ipAddr;

	@ApiModelProperty(value = "应用id")
	private String appId;

	@ApiModelProperty(value = "应用编码,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date appCode;

	@ApiModelProperty(value = "应用名称,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date appName;

	@ApiModelProperty(value = "操作命令")
	private String optCommand;

	@ApiModelProperty(value = "操作对象,身份证，手机号等")
	private String optObj;

	@ApiModelProperty(value = "操作次数")
	private String optTimes;

	@ApiModelProperty(value = "创建人")
	private String createUserCode;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

}